package com.hubei.car.swaggerParam;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * 资讯类型查询条件
 * @author luokangtao
 * @create 2019-08-09 16:11
 */
@ApiModel("资讯类型查询条件")
@Data
@Accessors(chain = true)
public class MsNewsTypeQueryParam {

    @ApiModelProperty(value = "当前页", example = "1", required = true)
    @NotNull(message = "当前页不能为空")
    private Long current;

    @ApiModelProperty(value = "当前页显示多少条数据", example = "10", required = true)
    @NotNull(message = "当前页显示多少条数据不能为空")
    private Long size;

}
